home *** CD-ROM | disk | FTP | other *** search
- Subject: Drag and Drop
- Sent: 6/11/96 4:24 PM
- Received: 6/11/96 4:41 PM
- From: Karl Jepsen, kjepsen@dharbor.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Our ODF part need to know if a drag operation ends up in the Trash or on
- the DeskTop.
- Outside of OpenDoc/ODF one can determine where a drop occured as shown by
- the following drag/drop code:
- err = TrackDrag(theDrag, theEvent, dragRegion);
- /** Check to see if the drop occurred in the Finder's Trash. **/
- GetDragAttributes(theDrag, &attributes);
- if (!(attributes & dragInsideSenderApplication))
- {
- GetDropLocation(theDrag, &dropLocation); // then get
- FSSpec from AEDesc
- .......
-
- Is there a way with ODF/OpenDoc to determine if a dragged item was dragged
- to the Trash or DeskTop?
-
- Thank you,
-
- Karl Jepsen
- Digital Harbor
-
-
-